#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
int* getConcatenation(int* nums, int numsSize, int* returnSize) {

    *returnSize = 2 * numsSize;
    int* ans = (int*)malloc(numsSize * 8);
    for (int i = 0; i < numsSize; i++)
    {
        ans[i] = *(nums + i);
    }
    for (int j = 0; j < numsSize; j++)
    {
        ans[j + numsSize] = *(nums + j);
    }
    return ans;
}